<!DOCTYPE html>  
<html lang="en">  
<head>  
<meta charset="UTF-8">  
<meta name="viewport" content="width=device-width, initial-scale=1.0">  
<title>鼠标划入显示多个段落</title>  
<style>  
  .tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
  }
  
  .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: -250px; /* 将提示框置于元素下方 */
    left: 100px;
    margin-left: -60px; /* 调整位置使其居中 */
    opacity: 0;
    transition: opacity 0.3s; /* 动画效果 */
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }
</style>  
</head>  
<body>  
  
<div class="tooltip">
  <span>悬停我</span>
  <div class="tooltiptext">
    <p>这是第一段文字。</p>
    <p>这是第二段文字。</p>
    <p>这是第三段文字。</p>
  </div>
</div>
  
</body>  
</html>